All Questions
Tagged with componentdesign-patterns
6 questions
0votes
1answer
253views
Re-usability in C++ using Interfaces and External Configuration
I am practicing professional C++ by building a differential drive robot that applies a Go-To-Goal Behavior. What is I have written so far is an Agent that consumes the following interfaces: Actuators ...
1vote
1answer
104views
Resolving Higher/Lower level component dependency
I have a .NET application (actually this can be a problem for any N-Tiered application) which has 3 separate components. ClassLibrary Has Cross Cutting Concerns like logging, authentication and IoC ...
3votes
1answer
3kviews
How does one combine the state pattern and the component pattern?
Suppose we have a class Player with classes PhysicsComponent, InputComponent and StandingState, DuckingState. The class Player itself does not have an input function, the InputComponent does. But ...
2votes
2answers
146views
Delegating work and programming to component interfaces
I have a MessageHandler class which receives and validates messages before determining which components in the architecture they should be delegated to so they can be processed. This involves calling ...
3votes
3answers
7kviews
What is the difference between a function and a component?
I just listened to Software engineering Radio podcast on components. Their description of components were very vague, they made them sound like lower level versions of functions. I am trying to figure ...
3votes
3answers
2kviews
Avoiding polling with components
Once you create separate components that need to communicate with each other you enter the realm of systems programming where you have to assume that errors could originate at any step in the process. ...